<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <c:forEach var='schoolLink' items="${schoolLinks}" varStatus="status">
        <c:if test="${(status.count - 1) % 4 ==0}">
            <tr>
        </c:if>
        <td>
            <table class="childtable">
                <tr><td class="TextCenter"><a href="${schoolLink.link}" target="_blank"><img src="${schoolLink.linkPicture}" /></a></td></tr>
                <tr><td><a href="${schoolLink.link}" target="_blank">${schoolLink.linkName}</a></td></tr>
                <tr><td class="coursesection"><a href="${schoolLink.link}" target="_blank"><div>${schoolLink.linkDescription} >></div></a></td></tr>
                <tr><td class="TextRight"><a href="${schoolLink.link}" target="_blank">已有<span class="redbold">1320</span>人使用此课程</a></td></tr>
            </table>
        </td>
        </a>
        <c:if test="${(status.count - 1) % 4 == 3}">
            </tr>
        </c:if>
    </c:forEach> 
</table>
